package com.wjw.java.others.enum_;

//枚举类星期
public enum Week {

    MONDAY("星期一"),
    TUESDAY("星期二"),
    WEDNESDAY("星期三"),
    THURSDAY("星期四"),
    FRIDAY("星期五"),
    SATURDAY("星期六"),
    SUNDAY("星期日");

    private String name;

    public String getName() {
        return this.name;
    }

    private Week(String name) {
        this.name = name;
    }
}
